import { createRouter, createWebHashHistory } from 'vue-router'
import Header from '../components/Header.vue'
import Login from '../components/Login.vue'
import Regist from '../components/Regist.vue'
import ShowSchedule from '../components/ShowSchedule.vue'
const routes = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/',
            component: ShowSchedule
        },
        {
            path: '/showSchedule',
            name: 'ShowSchedule',
            component: ShowSchedule
        },
        {
            path: '/login',
            name: 'Login',
            component: Login
        },
        {
            path: '/regist',
            name: 'Regist',
            component: Regist
        },
        {
            path: '/header',
            name: 'Header',
            component: Header
        }
    ]
})

export default routes